public class LazySingletonFactoryLogger {
    private LazySingletonFactoryLogger() {}

    private static LazySingletonFactoryLogger instance=  null;

    public static LazySingletonFactoryLogger getInstance(){
        if(instance == null){
            instance = new LazySingletonFactoryLogger();
        }
        return instance;
    }

    private String loggerName;

    public String getLoggerName() {
        return loggerName;
    }
    public void setLoggerName(String loggerName) {
        this.loggerName = loggerName;
    }

    public void log(String message) {
        System.out.println(message);
    }

    public String showInfo(){
        return  Integer.toString(this.hashCode());
    }
}
